Part Number Hot Search : 
M2114 SHD11 BST76A D5702 YM3292 D5V0S D5702 4GBJ801
Product Description
Full Text Search
 

To Download UG-065 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  evaluation board user guide UG-065 one technology way ? p. o. box 9106 ? norwood, ma 02062-9106, u.s.a. ? tel: 781.329.4700 ? fax: 781.461.3113 ? www.analog.com i mems adxl345/adxl346 inertial sensor datalogger and development board please see the last page for an important warning and legal terms and conditions. rev. a | page 1 of 12 features ultralow power adxl345 / adxl346 accelerometer inertial sensor development board datalogs onto microsd card fully programmable via serial interface; firmware examples provided battery-powered for portable applications requirements 2 aaa batteries microsd card and card reader (for datalogging) computer with serial port (for programming) 08658-001 figure 1. adxl345 inertial sensor development board general description it is often a timesaver in hardware development to make progress on the firmware and the hardware simultaneously. the challenge is that it proves difficult to develop firmware before the hardware exists. the i mems? adxl345 / adxl346 development board is an easy-to-use tool that facilitates prototyping by providing a platform that can be duplicated in the final application. additionally, the development board can be configured as a datalogger and can be used to gather data for refining algorithms, tuning thresholds, and generally familiarizing oneself with accelerometer data. two aaa batteries power the development board, and thus it integrates seamlessly into portable applications. communications and processing are done by an arm7-based aduc7024 micro- controller, and the interface provided is fully reprogrammable. moreover, all aduc7024 pins are broken out into headers to facilitate design of compatible expansion boards. data is logged onto a microsd memory card, providing essentially unlimited memory capacity and operating system versatility. data is stored in a text file; therefore, there is no need to install any software to operate the board or read data. software is provided to assist with programming the board.
UG-065 evaluation board user guide rev. a | page 2 of 12 table of contents features .............................................................................................. 1 ? requirements .................................................................................... 1 ? general description ......................................................................... 1 ? revision history ............................................................................... 2 ? overview............................................................................................ 3 ? features .......................................................................................... 3 ? using the board ................................................................................ 4 ? getting started...............................................................................4 ? programming the board...............................................................4 ? software tools................................................................................5 ? evaluation board schematic and layout .......................................6 ? appendix: sample output file ..................................................... 10 ? revision history 3/11rev. 0 to rev. a added adxl346 throughout ..........................................universal changes to firmware section ......................................................... 3 changes to figure 7.......................................................................... 8 changes to figure 8.......................................................................... 9 added appendix............................................................................. 10 6/10revision 0: initial version
evaluation board user guide UG-065 rev. a | page 3 of 12 overview the adxl345 / adxl346 inertial sensor development board has the following features: ? a 2-layer printed circuit board (pcb), 1.20 inches 2.30 inches form factor ? a two aaa battery power supply ? a 4-pin uart header to connect to an rs-232 interface cable ? reset/download push buttons ? power indicator/general-purpose leds ? access to microcontroller i/os from the external header ? demonstration firmware logs 100 hz acceleration data features power supply a pair of aaa batteries powers the board, and the battery holder is located on the back of the board. an on/off switch on the lower left of the front of the board controls power to it. the battery voltage is not regulated but is decoupled with a 10 f capacitor globally and an additional 1 f capacitor at the device supply pins to ground. rs-232 interface the aduc7024 (uc1) p1.1 and p1.0 lines are connected to the rs-232 interface cable via the connector (uart). the interface cable generates the required level shifting to allow direct connection to a pc serial port. ensure that the supplied cable is connected to the board correctly; that is, vdd is connected to vdd and gnd is connected to gnd. reset/prog push buttons a reset push button is provided to allow the user to manually reset the part. when the reset button is inserted, the rst pin of the is pulled to gnd. because the aduc7024 rst pin is schmitt-triggered internally, there is no need to use an external schmitt trigger on this pin. to enter serial download mode, the user must hold the p0.0/bm pin low while reset is toggled. on the development board, serial download mode can be easily initiated by holding down the serial download push button (prog) while inserting and releasing the reset button (reset), as illustrated in figure 2 . power indicator/ge neral-purpose leds two general-purpose leds are available on the board. a red led (led1) is connected to p4.5 of the aduc7024 , and a green led (led2) is connected to p4.4. both leds can be repurposed via firmware. breakout header many of the aduc7024 pins are connected to headers on either side of the board. the headers come unpopulated but can be populated using standard 0.1 inch header pins. the thin form factor of the top of the board allows the design of an expansion board to connect above the development board, with the header pins providing both electrical and physical connections. firmware sample firmware is provided on the adxl345 product page under the development board heading. the firmware link downloads a keil project that implements the 100 hz datalogging firmware. this project can be modified as needed. 08658-002 reset prog (a) rese t and prog released reset prog (e) release prog reset prog (b) push prog reset prog (d) release reset prog (c) push rese t reset figure 2. entering serial download mode to reprogram the board
UG-065 evaluation board user guide rev. a | page 4 of 12 using the board getting started the development board comes preprogrammed as a datalogger at a 100 hz datarate. to log data, do the following: 1. insert two aaa batteries into the battery holder. 2. insert the microsd card into the slot. the card should be formatted with a fat32 file system; most microsd cards come this way. 3. push the on/off switch to the on position to power up the board. the red led turns on, and the green led blinks to indicate that the board is logging data. 4. when logging is completed, slide the on/off switch to the off position. 5. remove the card from the slot and insert it into the card reader. 6. insert the card reader into the usb port on your computer. the acceleration log file is written to the path \xl345\data0000.txt on the microsd card. the data in the text file consists of a set of comma-separated t, x, y, and z values, where t corresponds to time and x, y, and z correspond to the x-, y-, and z-axis acceleration data for each time point. refer to the appendix: sample output file for an example of a data file. acceleration values are logged in lsb, where the nominal scale factor is 3.9 m g /lsb. to convert an acceleration value from lsb to m g , simply multiply by 3.9 (nominally, or measure the sensitivity of the part for a more accurate conversion). to plot the logged data using microsoft? excel, download the plotting tool (xl345db_dataplotter.xls) from the adxl345 product page (under the development board heading) and follow the instructions described in the file. users are prompted to browse to their logged data file (data0000.txt), the data is imported and plotted in a new workbook, and users are then prompted to save that workbook. programming the board the board can be repurposed with no programming required using the .hex files provided on the adxl345 product page . the .hex files are uploaded onto the board using the armwsd program, which can be downloaded at www.analog.com/static/imported- files/eval_boards/armwsdv1.8.zip . simply unzip the folder to a known location and open the armwsd.exe file to use the program. no installation is required. to reprogram the board, use the cable provided with the board and follow these instructions: 1. download the desired .hex file from the adxl345 product page to a known location, or locate it on your machine. 2. open armwsd. 3. click configure (see figure 3 ) and select the parts tab, shown in figure 4 . make sure the aduc7024 is selected in the select part pull-down list (see figure 4 ). additionally, in the comms tab, make sure the baudrate is set to 115200, and the serial port is set to com1, and then click ok . 4. in the armwsd window, click browse (see encircled in figure 3 ) and navigate to the location of the .hex file to be loaded onto the board. select the file and click open . 08658-003 figure 3. armwsd window 08658-005 figure 4. armwsd configure window: parts tab 5. connect the programming cable to the serial port on the pc and to the 4-pin header near the on/off switch on the board, matching up the corresponding pins. 6. in the armwsd window, click start . the status frame then prompts users to press download and pulse reset on hardware . follow the illustrations in figure 2 . 7. when download is complete, click the reset button on the evaluation board. users can now close the armwsd program.
evaluation board user guide UG-065 rev. a | page 5 of 12 software tools in addition to the ready-to-upload examples provided in the firmware link of the development board section of the adxl345 product page, the development board is fully modifiable and reprogrammable to allow for easy prototyping and firmware development. firmware is written in c, and it is compiled for the aduc7024 arm7 processor. the firmware examples provided on the adxl345 product page were written using keil microvision and compiled using the realview compiler. a free evaluation version of keil microvision is available online. additional software suites (keil, iar, and gnu) for writing and compiling code are available. for instructions on how to install and use the software, refer to the aduc702x microconverter getstarted guide . to reprogram the board, download the armwsd program from the uploader link in the development board section of the adxl345 product page. when keil microvision is installed, complete the following steps: 1. click and download the sample project ( eval- adxl345z-db files.zip ) file from the adxl345 development board section of the adxl345 product page. 2. unzip the eval-adxl345z-db files.zip file into a known directory. 3. navigate into the eval-adxl345z-db folder and open datalogger.uvproj . this keil microvision project allows users to modify and recompile the program.
UG-065 evaluation board user guide rev. a | page 6 of 12 evaluation board schematic and layout see the appropriate product pages for electronic versions of the layout and schematic files. 08658-004 figure 5. adxl345 development board schematic
evaluation board user guide UG-065 rev. a | page 7 of 12 08658-006 figure 6. adxl345 development board layout
UG-065 evaluation board user guide rev. a | page 8 of 12 08658-008 figure 7. adxl346 development board schematic
evaluation board user guide UG-065 rev. a | page 9 of 12 08658-008 figure 8. adxl346 development board layout
UG-065 evaluation board user guide rev. a | page 10 of 12 appendix: sample output file t,x,y,z 0,60,20,247 50,60,19,259 100,57,17,258 151,58,18,260 201,61,14,252 252,58,10,252 302,63,21,248 353,66,23,255 403,67,21,243 454,53,35,254 504,63,32,251 555,63,31,241 605,65,33,256 656,59,34,254 706,60,34,247 757,55,41,250 807,56,41,252 858,58,43,245 908,60,40,246 959,60,38,246 1009,66,37,249 1060,64,29,252 1110,69,36,251 1161,68,31,253 1211,66,47,233 1262,63,40,246 1312,59,36,246 1363,48,41,244 1413,49,41,248 1464,46,51,252 1514,52,39,264 1565,47,42,260 1576,47,43,254 1585,25,-5,263 1595,26,-2,263 1605,26,-5,257 1615,26,-4,257 1625,28,-3,258 1634,28,-1,261 1644,24,-2,263 1654,24,1,263 1664,25,0,261 1674,27,0,263 1683,24,-2,263 1693,22,-1,265 1703,23,-2,264 1713,22,0,265 1723,22,0,260 1732,22,-1,261 1742,23,0,258 1752,23,-1,259 1762,25,-1,256 1772,26,-1,256 1781,21,-2,257 1791,21,-4,256 1801,20,-4,259 1811,21,-2,260 1821,19,-5,260 1830,17,-4,258 1840,18,-3,260 1850,20,-5,260 1860,20,-2,260 1870,20,-2,261 1870,20,-2,264 1880,25,2,264 1890,23,2,262 1901,25,-1,260 1911,24,0,264 1922,27,1,263 1932,30,0,265 1942,30,2,265 1953,27,2,263 1963,28,1,263 1974,27,1,264 1984,29,0,261 1994,29,0,263 2005,27,0,261 2015,26,0,259 2026,28,-1,257 2036,26,-3,257 2046,27,-2,259 2057,23,-1,262 2067,24,-3,261
evaluation board user guide UG-065 rev. a | page 11 of 12 notes
UG-065 evaluation board user guide rev. a | page 12 of 12 notes esd caution esd (electrostatic discharge) sensitive device . charged devices and circuit boards can discharge without detectio n. although this product features patented or proprietary pr otection circuitry, damage may occur on devices subjected to high energy esd. therefore, proper esd precautions should be taken to avoid performance degradation or loss of functionality. legal terms and conditions by using the evaluation board discussed herein (together with an y tools, components documentation or support materials, the ev aluation board), you are agreeing to be bound by the terms and conditions set forth below (agreement) unless you have purchased the evaluation board, in which case the analog devices standard terms and c onditions of sale shall govern. do not use the evaluation board until you have read and agreed to the agreement. your use of the evaluation bo ard shall signify your acceptance of the agreement. this agreem ent is made by and between you (customer) and analog devices, inc. (adi), with its principal place of business at one technology way, no rwood, ma 02062, usa. subject to the terms and conditions of the agreement, adi hereby grants to customer a free, limited, personal, temporary, non-exclusive, non-sublicensable, non-transferable license to us e the evaluation board for evaluation purposes only. customer u nderstands and agrees that the evaluation board is provided for the sole and exclusive purpose referenced above, and agrees not to use the ev aluation board for any other purpose. furthermore, the license granted is expressly made subject to the fo llowing additional limitations: customer shall not (i) rent, lease, display, sell, transfer, assign, sublic ense, or distribute the evaluation board; and (ii) permit any third party to access the evaluation board. as used herein, the term third party includes any entity other than adi, customer, their employees, affiliates and in-house consultants. the evaluation board is not sold to cust omer; all rights not expressly granted herein, including ownership of the evaluation board, are reserved by adi. confidentiality. this agreement and the evaluation board shall all be considered the confidential a nd proprietary information of adi. customer may not disclose or transfer any portion of the evaluation board to any other party for any reason. upon discontinuation of use of the evaluation board or termi nation of this agreement, customer agrees to promptly return the evaluation board to adi. additional restrictions. customer may not disassemble, decompile or reverse en gineer chips on the evaluation board. cus tomer shall inform adi of any occurred damages or any modifications or alterations it makes to the evaluation board, including but not limited to soldering or any other activity that affects the mat erial content of the evaluation board. modifications to the evaluation board must comply with applicable law, including but not limited to the rohs directive. termination. adi may terminate this agreement at any time upon giving written notice to customer. customer agrees to return to adi the evaluation board at that time. limitation of liability. the evaluation board provided hereunder is provided as is and adi mak es no warranties or representations of any kind with respect to it. adi specifically disclaims any representations, en dorsements, guarantees, or warranties, express or implied, rel ated to the evaluation board including, but not limited to, the implied warranty of merchantability, title, fi tness for a particular purpose or noninfringement of intellectual property rights. in no event will adi and its licensors be liable for any incidental, special, indirect, or co nsequential damages resulting from customers possession or use of the evaluation board, including but not limited to lost profits, delay costs, labor costs or loss of goodwill. adis total liability from any and all causes shall be limited t o the amount of one hundred us dollars ($100.00). export. customer agrees that it will not directly or indirectly export the evaluation board to another country, and that it wil l comply with all applicable united states federal laws and regulations relating to exports. governing law. this agreement shall be governed by and construed in accordance with the substantive laws of the commo nwealth of massachusetts (excluding conflict of law rules). any legal action regarding this agreement will be heard in the state or federal courts having jurisdiction in suffolk county, massachusetts, and customer hereby submits to the personal jurisdiction and venue of such courts. the united nations convention on contracts for the international sale of goods shall not apply to this agreement and is expressly d isclaimed. ?2010C2011 analog devices, inc. all rights reserved. trademarks and registered trademarks are the prop erty of their respective owners. ug08658-0-3/11(a)


▲Up To Search▲   

 
Price & Availability of UG-065

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X